<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="UTF-8">
	<meta name="renderer" content="webkit"/> 
	<meta name="force-rendering" content="webkit"/> 
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
	<style type="text/css">
		*{ padding: 0; margin: 0; }
		body{ background: #fff; font-family: 'Microsoft YaHei'; color: #333; font-size: 16px; }
		.system-message{ padding: 24px 48px;; width: 500px; height: 300px; margin: 100px auto;text-align: center; }
		.system-message h1{ font-size: 100px; font-weight: normal; line-height: 120px; margin-bottom: 12px; }
		h1 {transform: rotate(90deg);-webkit-transform: rotate(90deg);-o-transform: rotate(90deg);-moz-transform: rotate(90deg);-ms-transform: rotate(90deg); border: 1px solid #999; font-weight: normal; color: #999; border-radius: 50%; height: 150px; width: 150px; margin: 0 auto }
		.system-message .jump{ padding-top: 10px}
		.system-message .jump a{ color: #333;}
		.system-message .success,.system-message .error{ line-height: 1.8em; font-size: 36px }
		.system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; }

		.message-wrap {	width: 100%; text-align: center; } 
		.message-wrap img { width: 140px; height: 140px; margin-bottom: 15px; }
		.message-wrap .msg { margin-bottom: 8px; }
		.message-wrap .tip { font-size: 14px; color: #999999; margin-bottom: 32px; }
		.message-wrap .turn-btn {display: block; margin: 0 auto; background: #2494EC; border-radius: 4px; outline: none; border: none; text-align: center; line-height: 32px; width: 80px; color: #fff; text-decoration: none; } 
		.message-wrap .turn-btn:active { opacity: .7; filter: alpha(opacity = 70); }
	</style>
</head>
<body>
	<div class="system-message">
		<?if($status==1):?>
			<div class="success-message message-wrap">
				<img src="/static/img/success.png">
				<p class="msg"><?=$info;?></p>
				<p class="tip"><span id="wait">2</span>秒内自动跳转</p> 
			</div>
		<?endif;?>
		<?if($status==0):?>
			<div class="error-message message-wrap">
				<img src="/static/img/error.png">
				<p class="msg"><?=$info;?></p> 
				<a href="<?=$jumpUrl;?>" class="turn-btn">好的</a>
			</div> 
		<?endif;?>
	</div>
</body>
<script type="text/javascript">
(function(){
	var wait = document.getElementById('wait'),
		href = "<?=$jumpUrl;?>";

	if (!wait) return;
	var interval = setInterval(function(){
		var time = --wait.innerHTML;
		if(time <= 0) {
			location.href = href;
			clearInterval(interval);
		}
	}, 1000);
})();
</script>
</html>